import { ref, computed } from 'vue'
import { defineStore } from 'pinia'

export const useTabIndexStore = defineStore('tabIndex', () => {
  const tabIndex = ref(1)
  function setTabIndex(index: number) {
    tabIndex.value = index;
  }

  return { tabIndex, setTabIndex }
})
